package self.hoy.demo.cloud.hystrix;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

/**
 * @author 三共小不
 * @date 2020/6/5
 */
@SpringBootApplication
@EnableHystrixDashboard
public class HystrixDashboardStarter {

    /**
     * 注意，被监控的provider都需要依赖 spring-boot-starter-actuator
     * @param args
     */
    public static void main(String[] args) {
        SpringApplication.run(HystrixDashboardStarter.class, args);
    }
}
